import {RequestUtil} from '@/utils'

export class MaterialHttp {

    static PREFIX = "manager/member/material"


// =============
    //    查询 猪猪资料
    static getPigPageList = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/pig/pageList`, params)

    static getPigPlanPageList = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/pigPlan/pageList`, params)

    // 玩家道具
    static getPigPropsPageList = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/props/pageList`, params)

    // 猪仔使用记录
    static getPigUsePageList = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/pigUse/pageList`, params)


    //    查询 鸡蛋
    static getChickenPageList = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/chicken/pageList`, params)

}
